package com.team.book.service;


import com.team.book.common.domain.Page;
import com.team.book.common.exception.UncheckedException;
import com.team.book.domain.BorrowedRecord;
import com.team.book.web.dto.BorrowedRecordDTO;

public interface BorrowedRecordService {

	Page<BorrowedRecord> query(Page<BorrowedRecord> page, BorrowedRecordDTO record);

	int save(long code);

	int returnBook(long code) throws UncheckedException;

	int del(long id);
}
